home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.m68k
- Path: in1.uu.net!tron!usenet
- From: gibson.w.e@wec.com (White Gibson)
- Subject: Re: s19 format files ????
- Sender: usenet@tron.bwi.wec.com (USEnet News Poster)
- Message-ID: <DKz1ts.71r@tron.bwi.wec.com>
- Date: Wed, 10 Jan 1996 15:32:16 GMT
- X-Nntp-Posting-Host: mbsh28.bwi.wec.com
- References: <4cti4h$qeg@sunsic.si.univ-compiegne.fr>
- Mime-Version: 1.0
- Organization: Westinghouse Electric Corp.
- X-Newsreader: WinVN 0.99.2
-
- In article <4cti4h$qeg@sunsic.si.univ-compiegne.fr>,
- capi@hds.univ-compiegne.fr says...
- >
- > hello everybody
- >
- >i'm searching informations about the s19 motorola format files.
- >what are the signification of the first and last data
- >where can i get such information
- >i want to convert s19 files to machine code only
- >who could help me
- >many thanks for your reply
- >
-
- I have seen the Motorola S-Record format documented many places, but here is
- a short discription. The .S19 extension means that the file is composed of
- "S1" and "S9" records. There may also be "S0" records, but these are just
- comment lines and can probably be ignored for your purposes.
-
- The general S-Record is as follows:
-
- S110AAAADDDDDDDDDDDDDDDDDDDDDDDDDDCC
- |\/\__/\________________________/\/
- | \ \ \ \_ Checksum for the record all bytes
- | \ \ \ for the S-Record Count byte through
- | \ \ \ checksum should add up to XXFFH.
- | \ \ \
- | \ \ \_____ Binary data in ASCII Hexidecimal format
- | \ \
- | \ \________ Address of record in ASCII Hexidecimal format. May
- | \ be 4, 6, or 8 ASCII characters depending on record
- | \ type see below. Address of first byte in the data
- | \ block or jump address for "S7", "S8", or "S9"
- | \ records
- | \
- | \______ Count Byte the number of bytes(two ASCII characters
- | each) remaining in the record (includes checksum)
- |
-
- Type indicator types are as follows:
-
- 0 - comment record
- 1 - program data record with 2-byte (4-character) address field
- 2 - program data record with 3-byte (6-character) address field
- 3 - program data record with 4-byte (8-character) address field
- 7 - jump record with 4-byte address field
- 8 - jump record with 3-byte address field
- 9 - jump record with 2-byte address field
-
- Jump records are used to indicate the start address of the code being
- downloaded. Typically the load image ends with one which starts the target
- processor executing the code just downloaded.
-
- I hope this helps
-
- Good Luck ...
-
- White Gibson | The opinions expressed in this article are those of
- gibson.w.e@wec.com | the author, for what that's worth.
-
-